# Import Module
from tkinter import *

# create root window
root = Tk()

# root window title and dimension
root.title("tkinter学习")
# Set geometry(widthxheight)
root.geometry('800x600')

label = Label(root, text="Hello, Tkinter!")
# 使用place布局管理器将标签放置在窗口的(10, 300)位置
label.place(x=10, y=300)

# Execute Tkinter
root.mainloop()
